import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import axios from 'axios'

import VueCookie from 'vue-cookie'
Vue.use(VueCookie)

axios.defaults.baseURL = "http://192.168.4.88:8000"
axios.defaults.withCredentials = true;  //前端配置这个是说明可以访问cookies
Vue.prototype.$http = axios

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
